package com.yonyou.cyxdms.basedata.service.feign;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.yonyou.cyxdms.basedata.service.dto.dmsFeign.ResponseDTO;
import com.yonyou.cyxdms.basedata.service.dto.dmsFeign.SaveOrUpdateBasicAllDTO;
import com.yonyou.cyxdms.basedata.service.dto.dmsFeign.SaveOrUpdateColorOrTrimDTO;
import com.yonyou.cyxdms.basedata.service.dto.dmsFeign.SaveOrUpdateProductDTO;

@FeignClient(value = "dms-basicdata")
public interface DmsVehicleClient {
    //下发车辆配置信息
    @PostMapping("/basicdata/convert/basicAllConvert")
    public ResponseDTO sendVehicleAllInfoToDms(@RequestBody List<SaveOrUpdateBasicAllDTO> list);
    //下发车辆颜色
    @PostMapping("/basicdata/convert/colorOrTrimConvert")
    public ResponseDTO sendVehicleColorInfoToDms(@RequestBody List<SaveOrUpdateColorOrTrimDTO> list);
    //下发车辆主数据
    @PostMapping("/basicdata/convert/productConvert")
    public ResponseDTO sendVehicleProductInfoToDms(@RequestBody List<SaveOrUpdateProductDTO> list);

}